package com.ruix.app.network;

import com.ruix.app.constant.RuiXConstant;

/**
 * Created by hadexs on 2017/4/12.
 */

public class ApiConstant {

//    A.	接口地址：
//    i.	测试环境： http://ruix-api.yx681.com
//    ii.	生产环境： https://api.ruix.com
//    B.	H5地址：
//    i.	测试环境： http://ruix-h5.yx681.com
//    ii.	生产环境： https://h5.ruix.com

//    public  static String H5_Host = "http://ruix-h5.yx681.com";
    public  static String H5_Host = "https://h5.ruix.com";

    public  static String App_Agreement =  H5_Host+"/agreement.php";
    public  static String App_About=  H5_Host+"/about.php?ver=";


    public  static String App_Common_Question =  H5_Host+"/faq.php";

   // http://ruix-h5.yx681.com
    // encrypt_id=dErkx8WOwFYzVCkPJGEXqQ==&source=ios&is_show_bottombar=1


//    public  static String Host = "http://ruix-api.yx681.com"; //开发分支
    public  static String Host = "https://api.ruix.com";  //上线分支


    public static String API_FIR_LATEST = "http://api.fir.im/apps/latest/";

    public static String API_WX_ACCESS_TOKEN = "https://api.weixin.qq.com/sns/oauth2/access_token";

    public static String API_WX_USER_INFO = "https://api.weixin.qq.com/sns/userinfo";



    public static String API_SYSTEM_GET =  Host+"/system/get";
    public static String API_SYSTEM_SET =  Host+"/system/set";

    public static String API_SYSTEM_OSSTOKEN =  Host+"/system/oss-token";

    public static String API_SMS_SNED =  Host+"/sms/send";

    public static String API_BIND_MOBIE =  Host+"/user/bind-mobie";

    public static String API_WX_LOGIN =  Host+"/user/wx-login";//第三方登录

    public static String API_USER_UPDATE =  Host+"/user/update";

    public static String API_CLASSES_INDEX =  Host+"/classes/index";

    public static String API_CLASSES_SUGEST_LIST =  Host+"/classes/suggest";//班级推荐

    public static String API_SYSTEM_CONFIG =  Host+"/system/config";//登录状态

    public static String API_LOGOUT =  Host+"/user/logout";//登录状态

    //
    public static String API_CLASS_POST_LIST =  Host+"/class-post/list/"; //请使用@desc 注释

    public static String API_CLASS_POST_DETAIL =  Host+"/class-post/detail/"; //帖子详情  class-post/detail/

    public static String API_CLASS_POST_DELET =  Host+"/class-post/del-post/"; //删除帖子

    public static String API_CLASS_POST_DELET_COMMENT =  Host+"/class-post/del-comment/"; //删除评论

    public static String API_CLASS_POST_COMMENT =  Host+"/class-post/comment/";//发布评论

    public static String API_CLASS_POST_LIKE =  Host+"/class-post/like/";//点赞

    public static String API_CLASS_POST_PUBLISH =  Host+"/class-post/publish/";//发布




    public static String API_CLASS_POST_AUTHOR_INFO =  Host+"/class-post/author-info";//发布


    public static String API_CLASS_POST_REPORT =  Host+"/class-post/report/";//举报

    //圈子详情
    public static String API_CLASS_DETAIL =  Host+"/class/detail/";//班级详情
    public static String API_CLASS_SHARE =  Host+"/class/update/";//设置分享

    //通知
    public static String API_CLASS_NOTICE_LIST =  Host+"/class/notice-list/";//通知列表

    //通知详情
    public static String API_CLASS_NOTICE_DETAIL =  Host+"/class/notice-detail/";//通知详情

    public static String API_CLASS_COMFIRM_NOTICE =  Host+"/class/confirm-notice/";//确认通知

    public static String API_CLASS_UNCONFIRMED =  Host+"/class/unconfirmed-user/";//未确认人员

    public static String API_CLASS_SEND_NOTICE_COMMENT =  Host+"/class/send-ncomment/";//发表评论
    public static String API_CLASS_DELETE_COMMENT =  Host+"/class/del-ncomment/";//删除评论



    //发布通知
    public static String API_CLASS_NOTICE_CREATE =  Host+"/class/create-notice/";//发布通知

    //
    public static String API_CLASS_BARCODE =  Host+"/class/qr/";//班级二维码

    public static String API_CLASS_MENBERS =  Host+"/class/members/"; //班级成员
    public static String API_CLASS_PROHIBITE =  Host+"/class/prohibite/"; //禁言


    //
    //反馈列表
    public static String API_FEEDBACK_LIST =  Host+"/system/feedback-list"; //反馈列表


    //意见反馈
    public static String API_SYSTEM_FEEDBACK =  Host+"/system/feedback"; //意见反馈


    public static String API_MESSAGE_LIST =  Host+"/message/list"; //消息列表
    public static String API_MESSAGE_READ =  Host+"/message/read"; //设置为已读
    public static String API_POST_MEMBER =  Host+"/course/post-member/"; //发送消息的成员




    //案例学习
    //:
    public static String API_COURSE_LIST =  Host+"/course/list/"; //案例学习
    public static String API_COURSE_LESSON =  Host+"/course/lesson/"; //课程详情

    public static String API_COURSE_REPORT =  Host+"/course/report"; //上次听课位置
    public static String API_COURSE_CHAT_RECORD =  Host+"/course/chat-record"; //聊天记录

    public static String API_COURSE_CHAT =  Host+"/course/chat"; //聊天



    public static String API_CLASS_POST_TAGS =  Host+"/class-post/tags/";//帖子标签

    public static String API_CLASS_ORGANIZATION =  Host+"/classes/organization/";//组织圈列表
    public static String API_CLASS_QUIT =  Host+"/class/quit/";//退出师友圈

    public static String API_COURSE_CHAT_LIKE =  Host+"/course/like-chat/";//聊天消息点赞

    public static String API_WX_ORDER_MENTOR =  Host+"/weixin/mentor-ship";//微信加入班级信息

    public static String API_PAY_CLASS =  Host+ "/pay/class/"; //购买圈子

    public static String API_CLASS_POST_TAG =  Host+ "/class-post/tag-post/";//标签相关帖子列表

    public static String API_USER_FUND_DETAIL =  Host+ "/user/fund-detail";//资金明细
    //
    public static String API_COURSE_READ = Host+"/course/read";//已读未读

    public static String API_MESSAGE_UNREAD = Host+"/message/unread-num";//消息未读数
}
